		<table cellpadPositionding="3" cellspacing="1"  id="list-table">
			<tr>
				<#--
				<th>ID</th>
				
				-->
				<th>省份</th>
				<th>地点</th>
				<th>地点图片</th>
				<th>时间</th>
				<th>时间图片</th>
				<th>类型</th>
				<th>类型图片</th>
				<th>加载用城市图片</th>
				<th>小喇叭数据</th>
				 <th>状态</th>
			    <th>增加时间</th>
 
				
				<th>操作</th>
			</tr>
<#if (oneArmBanditHotConfigList?size>0) >
    <#list  oneArmBanditHotConfigList as config>
      <tr align="center">
					<#--<td  nowrap="nowrap"> ${(config.configId)?c}</td>
				 -->
					<td     nowrap="nowrap">
					 
					
					 <#if (config.belongArea)??>
      				 <#if (config.belongArea)?string=='11' >
						北京 
					</#if>
					<#if (config.belongArea)?string=='12' >
						天津
					</#if>
										
						 <#if (config.belongArea)?string=='31' >
						上海 
					</#if>
					<#if (config.belongArea)?string=='50' >
						重庆
					</#if>		
      				<#if (config.belongArea)?string=='51' >
						四川
					</#if>	
      				</#if>
					
					 
			       </td>
			       
			       
			       
					<td   align="center"   >
				     
				 	${config.configLocation}

					</td>
					
					<td   align="center"  >
				     
				     <#if (config.locationImage)??>
			 
				 
				 	<a href="../${config.locationImage}" > <img src="../${config.locationImage}" width="25px"></a>
				 </#if>
					</td>
					
					<td  align="center"  >
					 
					
					 
			   ${config.configDate} 
				
					</td>
	<td  align="center"  >
					 
					
					 <#if (config.dateImage)??>
			 
				 
				 	<a href="../${config.dateImage}" >  <img src="../${config.dateImage}" width="25px"></a>
				 </#if>
					</td>
					 

					<td align="center"    >
							 ${config.configType}  
					</td>
					
					<td align="center"    >
							
							<#if (config.typeImage)??>
			 
				 
				 	<a href="../${config.typeImage}" ><img src="../${config.typeImage}" width="25px"></a>
				 </#if>
					</td>
					<td align="center"    >
							
							<#if (config.loadImage)??>
			 
				 
				 	<a href="../${config.loadImage}" ><img src="../${config.loadImage}" width="25px"></a>
				 </#if>
					</td>
					<td align="center"  nowrap="nowrap">
				 
						${config.configTypeDesc}
					</td>
					<td align="center"   nowrap="nowrap">
				 
						 
						<#if (config.configState)??>
					 <#if config.configState==1 >
					
							启用
						 
						</#if>
						 <#if config.configState==2 >
					
						不启用
						 
						</#if>
					
					</#if>
						
					</td>
						 	<td align="center"   nowrap="nowrap">
				 
 
						 ${config.addTime?string("yyyy-MM-dd HH:mm:ss")}
					</td>
					
					 
					<td   align="center">
			              
						<a href="../product/getOneArmBanditHotCfgById.action?configId=${config.configId}">编辑</a>|
						<a   onclick="{if(confirm('你确定要解除锁定吗？')){return true;}return false;}" href="../product/deleteOneArmBanditHotCfg.action?configId=${config.configId}">删除</a>

					</td>
				</tr>
    </#list>
</#if>


</table>
 <script type="text/javascript">
     listTable.action = "ajaxQueryOneArmBanditHotCfg.action";
     listTable.currentPage=${(page.currentPage)?c};
     listTable.pageCount=${(page.totalPage)?c};
     listTable.recordCount=${(page.allRow)?c};
 </script>
<!-- 分页 -->
<table id="page-table" cellspacing="0">
			<tr>
				<td align="right" nowrap="true">
					<div id="turn-page">
					共<span id="totalRecords">${page.allRow} </span>条记录&nbsp; 
					共<span	id="totalPages">${page.totalPage}</span> 页&nbsp;
				当前第<span	id="pageCurrent">${page.currentPage}</span>页&nbsp;  
	     
	     <!--也许可以换种方式，呵呵，不用人工输入，用下拉列表-->
	     每页显示记录条数 <input type='text' size='3' id='pageSize' value="${page.pageSize}" onkeypress="return listTable.changePageSize(event)" />
	   <!--查询动作-->
	    <input type='hidden' size='3' id='action' value="ajaxQueryOneArmBanditHotCfg.action"/>
	       
							
						<span id="page-link">  
						<a	href="javascript:listTable.gotoPageFirst()">第一页</a> 
						<a	href="javascript:listTable.gotoPagePrev()">前一页</a> 
						<a	href="javascript:listTable.gotoPageNext()">下一页</a> 
						<a	href="javascript:listTable.gotoPageLast()">最后一页</a> 
						<select	id="gotoPage" onchange="listTable.gotoPage(this.value)">
						<#assign x=page.totalPage>
						<#assign y=page.currentPage>
						<#list 1 .. x as i>
						<#if y==i >
						    <option value="${(i)?c}" selected="selected">${(i)?c}</option>
						<#else>
							<option value="${(i)?c}" >${(i)?c}</option>
						</#if>
						</#list>
           </select>
        </span>
        </div>
        </td>
        
    </tr>
</table>
